﻿using System.Web.Mvc;
using System.Web.UI;

namespace Krupa.Pro.Web.Controllers
{
    public class HomeController : Controller
    {
        [HttpGet]
        [OutputCache(CacheProfile = "Dynamic")]
        public ActionResult Index()
        {
            ViewBag.Message = "Добро пожаловать в ASP.NET MVC!";
            return View();
        }

        [HttpGet]
        [OutputCache(CacheProfile = "Dynamic")]
        public ActionResult About()
        {
            return View();
        }
    }
}
